﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="post.aspx.cs" Inherits="Activity_live_post" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <Custom:Header runat="server" />
    <style type="text/css">
        .host{padding:25px 0;text-align:right;}
        .Carousel{overflow:auto;}
        .Carousel li{float:left;width:100px;margin-left:8px;}
        .Carousel .imgwrap{height:100px;border:solid 1px #ccc;text-align:center;}
        .Carousel .imgwrap div{padding:1px;}
        .Carousel .selimg{text-align:center;}
        .hdbar td{background-color:#D4E7BA;}
        .hd_left{}
        .hd_right{text-align:right;}
        .detail_part{padding:3px;}
    </style>
    
<script type="text/javascript" src="js/post.js"></script>
</head>
<body>
    <form class="webform">
    <input type="hidden" name="lid" value="<%=Request["id"] %>" />
    <table cellspacing="1" cellpadding="0" class="tab" style="width:95%">
        <tbody>
            <tr>
                <td class="tdtitle">
                    标题：
                </td>
                <td colspan="3">
                    <input type="text" style="width:100%" class="txtbox"  name="title">
                </td>
              
            </tr>
            <tr  class="trsub">
                <td class="tdtitle">
                    开始时间：
                </td>
                <td>
                    <input class="txtbox" name="starttime" style="width:100%;" />
                </td>
                <td class="tdtitle">
                    结束时间：
                </td>
                <td>
                    <input class="txtbox" name="endtime" style="width:100%;" />
                </td>
            </tr>
            <tr  class="trsub">
                <td class="tdtitle">
                    直播地点：
                </td>
                <td colspan="3">
                    <input class="txtbox" name="address" style="width:100%;" />
                </td>
            </tr>
            
            <tr class="trsub">
                <td class="tdtitle">
                    直播简介：
                </td>
                <td colspan="3">
                    <textarea style="width:100%; height: 100px;" class="txtbox"   name="shortdes"></textarea>
                </td>
            </tr>
            <tr>
                <td class="tdtitle">
                    主持人：
                </td>
                <td colspan="3">
                    <select  name="host" style="width:100%;">
                        <asp:Repeater ID="Repeater1" runat="server">
                            <ItemTemplate>
                                <option class="host" value="<%#Eval("id") %>" style="background:url(<%#Eval("pic")%>) no-repeat 3px center;"><%#Eval("name") %></option>
                            </ItemTemplate>
                        </asp:Repeater>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="tdtitle">
                    轮播图：
                </td>
                <td colspan="3" style="padding:5px">
                    <ul class="Carousel">
                        <li>
                            <div class="imgwrap"><div><img src="#" onload="changeImg(this,98,98)"; onerror="this.src='/images/no_photo.gif'" /></div></div>
                            <div class="selimg"><input type="button" value="选择图片" /><input type="hidden" name="crs_img" /></div>
                        </li>
                        <li>
                            <div class="imgwrap"><div><img src="#" onload="changeImg(this,98,98)"; onerror="this.src='/images/no_photo.gif'" /></div></div>
                            <div class="selimg"><input type="button" value="选择图片" /><input type="hidden" name="crs_img" /></div>
                        </li>
                        <li>
                            <div class="imgwrap"><div><img src="#" onload="changeImg(this,98,98)"; onerror="this.src='/images/no_photo.gif'" /></div></div>
                            <div class="selimg"><input type="button" value="选择图片" /><input type="hidden" name="crs_img" /></div>
                        </li>
                        <li>
                            <div class="imgwrap"><div><img src="#" onload="changeImg(this,98,98)"; onerror="this.src='/images/no_photo.gif'" /></div></div>
                            <div class="selimg"><input type="button" value="选择图片" /><input type="hidden" name="crs_img" /></div>
                        </li>
                        <li>
                            <div class="imgwrap"><div><img src="#" onload="changeImg(this,98,98)"; onerror="this.src='/images/no_photo.gif'" /></div></div>
                            <div class="selimg"><input type="button" value="选择图片" /><input type="hidden" name="crs_img" /></div>
                        </li>
                    </ul>
                </td>
            </tr>
            
        </tbody>
    </table>
    <div class="divsub"><span></span><input type="button" class="btn" id="save" value="保存" ><span class='loading2'>数据提交中…</span> <input type="button" value="返回列表" onclick="location='list.aspx'" class="btn"></div>
 </form>
</body>
</html>
